home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / diff.zip / MAKEFILE < prev    next >
Text File  |  1994-07-16  |  2KB  |  61 lines

  1. # Makefile for GNU DIFF, MS-DOS Version
  2. # Copyright (C) 1988, 1989 Free Software Foundation, Inc.
  3.  
  4. # This file is part of GNU DIFF.
  5.  
  6. # GNU DIFF is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 1, or (at your option)
  9. # any later version.
  10. # GNU DIFF is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. # You should have received a copy of the GNU General Public License
  15. # along with GNU DIFF; see the file COPYING.  If not, write to
  16. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. # $Header: e:/gnu/diff/RCS/makefile 1.15.0.1 91/03/12 18:14:26 tho Exp $
  19.  
  20. TKERN=..\..\tkern
  21. GNUVER    = 1.15
  22.  
  23. OBJS    = analyze.obj context.obj ed.obj diff.obj ifdef.obj io.obj \
  24.       normal.obj util.obj dir.obj version.obj
  25.  
  26. SRCS    = analyze.c context.c ed.c diff.c ifdef.c io.c normal.c util.c \
  27.       dir.c version.c diff3.c
  28. INCS    = diff.h limits.h
  29.  
  30. DEFINES    = -DUSG -DHAVE_NDIR -DHAVE_DIRECT -DMSDOS -D__STDC__=1
  31. CFLAGS    = -DSTRICT -W -w- -ml -v -Fc -I. -I$(TKERN)\INCLUDE $(DEFINES)
  32.  
  33. .AUTODEPEND
  34.  
  35. .c.i:
  36.     cpp $(CFLAGS) $*.c
  37.  
  38. .c.obj:
  39.     bcc $(CFLAGS) -c $*.c
  40.  
  41.  
  42. all: diff.exe
  43.  
  44. diff.exe: $(OBJS)
  45.     tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
  46. c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
  47. !
  48.  
  49. util.obj: util.c
  50.     bcc $(CFLAGS) -UMSDOS -c $*.c
  51.  
  52. clean:
  53.     $(RM) *.obj
  54.  
  55. veryclean:
  56.     $(RM) *.exe errs tags
  57.     rcsclean -q *.[ch] makefile
  58.  
  59.